package com.cty.controller;
import com.cty.service.ConsumerService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * @Auther: cty
 * @Date: 2020/3/25 16:53
 * @Description:
 * @version: 1.0
 */
@Controller
public class ConsumerController {
    @Resource
    private ConsumerService consumerServiceImpl;

    @RequestMapping("/consumer")
    public  String TestConsumer(){
        consumerServiceImpl.test();
        return "main";
    }

}
